package com.edee.bigday.member.feign;

import com.edee.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

import java.util.Map;

@FeignClient("bigday-order")  //此处lfy第一次写为bigday-member，后经过四五次测试后才发现，最后改正。
public interface OrderFeignService {
    @PostMapping("/order/order/listWithItem")  //此处lfy第一次写为GetMapping，后改为PostMapping(14'51'')
    R listWithItem(@RequestBody Map<String, Object> params);
}
